#-------------------------------------------------
#
# Project created by QtCreator 2013-06-05T20:55:25
#
#-------------------------------------------------

QT       -= core gui

TARGET = KmyCore2D
TEMPLATE = lib

DEFINES += KMYCORE2D_LIBRARY

SOURCES += \
    KmyCore2D/Platform.cpp \
    KmyCore2D/KmyVector.cpp \
    KmyCore2D/KmyStream.cpp \
    KmyCore2D/KmySpriteTemplate.cpp \
    KmyCore2D/KmySceneManager.cpp \
    KmyCore2D/KmyResourceManager.cpp \
    KmyCore2D/KmyRandom.cpp \
    KmyCore2D/KmyMath.cpp \
    KmyCore2D/KmyITexture.cpp \
    KmyCore2D/KmyIScene.cpp \
    KmyCore2D/KmyImagePak.cpp \
    KmyCore2D/KmyIFile.cpp \
    KmyCore2D/KmyIControllerPad.cpp \
    KmyCore2D/KmyICanvas.cpp \
    KmyCore2D/KmyFont.cpp \
    KmyCore2D/KmyConfigList.cpp \
    KmyCore2D/KmyConfig.cpp \
    KmyCore2D/KmyCollisionBlock.cpp \
    KmyCore2D/KmyAlgorithm.cpp \
    KmyCore2D/ITimer.cpp \
    KmyCore2D/DrawTask.cpp \
    KmyCore2D/Node/KmyWorldComponent.cpp \
    KmyCore2D/Node/KmyWorld.cpp \
    KmyCore2D/Node/KmyTextLayer.cpp \
    KmyCore2D/Node/KmySprite.cpp \
    KmyCore2D/Node/KmyNodeLayer.cpp \
    KmyCore2D/Node/KmyNodeImage.cpp \
    KmyCore2D/Node/KmyNode.cpp \
    KmyCore2D/Node/KmyMap.cpp \
    KmyCore2D/ResPath/ResPathSprite.cpp \
    KmyCore2D/ResPath/ResPathSound.cpp \
    KmyCore2D/ResPath/ResPathScript.cpp \
    KmyCore2D/ResPath/ResPathImage.cpp \
    KmyCore2D/ResPath/ResPathFont.cpp \
    KmyCore2D/ResPath/ResourcePath.cpp \
    KmyCore2D/ScriptRunner/ScriptRunner.cpp \
    KmyCore2D/ScriptRunner/KmyScript.cpp \
    KmyCore2D/ScriptRunner/KmyMacroDict.cpp \
    KmyCore2D/ScriptRunner/IButton.cpp \
    KmyCore2D/SimpleScene/SimpleSceneTitle.cpp \
    KmyCore2D/SimpleScene/SimpleSceneLogo.cpp \
    KmyCore2D/KmyIDebug.cpp \
    KmyCore2D/ScriptRunner/KmyVar.cpp \
    KmyCore2D/ScriptRunner/KmyVarInt.cpp \
    KmyCore2D/ScriptRunner/KmyVarFloat.cpp \
    KmyCore2D/ScriptRunner/KmyVarString.cpp \
    KmyCore2D/ScriptRunner/KmyScriptAnchor.cpp \
    KmyCore2D/Node/KmyTrans.cpp \
    KmyCore2D/Node/KmyMenu.cpp \
    KmyCore2D/Node/KmyButton.cpp \
    KmyCore2D/MediaPlayer/AudioPlayer.cpp \
    KmyCore2D/MediaPlayer/VideoPlayer.cpp \
    KmyCore2D/MediaPlayer/KmyIMediaPlayer.cpp \
    KmyCore2D/ScriptRunner/KmyLog.cpp \
    KmyCore2D/ResPath/ResPathVideo.cpp

HEADERS += KmyCore2D.h \
    KmyCore2D/PlatformDef.h \
    KmyCore2D/Platform.h \
    KmyCore2D/KmyVector.h \
    KmyCore2D/KmyTypedef.h \
    KmyCore2D/KmyStructDef.h \
    KmyCore2D/KmyStream.h \
    KmyCore2D/KmySpriteTypedef.h \
    KmyCore2D/KmySpriteTemplate.h \
    KmyCore2D/KmySceneManager.h \
    KmyCore2D/KmyResourceManager.h \
    KmyCore2D/KmyRandom.h \
    KmyCore2D/KmyMath.h \
    KmyCore2D/KmyITexture.h \
    KmyCore2D/KmyIScene.h \
    KmyCore2D/KmyImagePak.h \
    KmyCore2D/KmyIFile.h \
    KmyCore2D/KmyIControllerPad.h \
    KmyCore2D/KmyICanvas.h \
    KmyCore2D/KmyFont.h \
    KmyCore2D/KmyConfigList.h \
    KmyCore2D/KmyConfig.h \
    KmyCore2D/KmyCollisionBlock.h \
    KmyCore2D/KmyAlgorithm.h \
    KmyCore2D/ITimer.h \
    KmyCore2D/DrawTask.h \
    KmyCore2D/Node/KmyWorldComponent.h \
    KmyCore2D/Node/KmyWorld.h \
    KmyCore2D/Node/KmyTextLayer.h \
    KmyCore2D/Node/KmySprite.h \
    KmyCore2D/Node/KmyNodeLayer.h \
    KmyCore2D/Node/KmyNodeImage.h \
    KmyCore2D/Node/KmyNode.h \
    KmyCore2D/Node/KmyMap.h \
    KmyCore2D/ResPath/ResPathSprite.h \
    KmyCore2D/ResPath/ResPathSound.h \
    KmyCore2D/ResPath/ResPathScript.h \
    KmyCore2D/ResPath/ResPathImage.h \
    KmyCore2D/ResPath/ResPathFont.h \
    KmyCore2D/ResPath/ResourcePath.h \
    KmyCore2D/ScriptRunner/ScriptRunner.h \
    KmyCore2D/ScriptRunner/KmyScript.h \
    KmyCore2D/ScriptRunner/KmyMacroDict.h \
    KmyCore2D/ScriptRunner/IButton.h \
    KmyCore2D/SimpleScene/SimpleSceneTitle.h \
    KmyCore2D/SimpleScene/SimpleSceneLogo.h \
    KmyCore2D/KmyIDebug.h \
    KmyCore2D/ScriptRunner/KmyVar.h \
    KmyCore2D/ScriptRunner/KmyVarInt.h \
    KmyCore2D/ScriptRunner/KmyVarFloat.h \
    KmyCore2D/ScriptRunner/KmyVarString.h \
    KmyCore2D/ScriptRunner/KmyScriptAnchor.h \
    KmyCore2D/Node/KmyTrans.h \
    KmyCore2D/Node/KmyMenu.h \
    KmyCore2D/Node/KmyButton.h \
    KmyCore2D/MediaPlayer/AudioPlayer.h \
    KmyCore2D/MediaPlayer/VideoPlayer.h \
    KmyCore2D/MediaPlayer/KmyIMediaPlayer.h \
    KmyCore2D/ScriptRunner/KmyLog.h \
    KmyCore2D/ResPath/ResPathVideo.h

symbian {
    MMP_RULES += EXPORTUNFROZEN
    TARGET.UID3 = 0xE054C684
    TARGET.CAPABILITY = 
    TARGET.EPOCALLOWDLLDATA = 1
    addFiles.sources = KmyCore2D.dll
    addFiles.path = !:/sys/bin
    DEPLOYMENT += addFiles
}

unix:!symbian {
    maemo5 {
        target.path = /opt/usr/lib
    } else {
        target.path = /usr/lib
    }
    INSTALLS += target
}
